// index.js
Page({
  onLoad(options) {
    const pages = getCurrentPages()
    console.log(pages);
    const now = pages[pages.length-1]
    console.log(now);
  }
})
